home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / INFO / DOSTIPS6.ZIP / DOSCOPY < prev    next >
Text File  |  1987-01-03  |  3KB  |  124 lines

  1.                     Lightning-Fast Diskcopies
  2.        (PC Magazine Vol 6 No 2 Jan 27, 1987 User-to-User)
  3.  
  4.      If you need to make multiple copies of a floppy disk, DOS's
  5. DISKCOPY forces you to reinsert the source disk for each copy made.
  6. DOS can be patched so this is not necessary by resetting 2 bytes in
  7. memory to zero and branching to the write disk routine after the
  8. question: "COPY another diskette (Y/N)?" occurs.
  9.      Type in the appropriate DEBUG scripts for DOS 2.1, 3.1, or 3.2
  10. using any pure-ASCII word processor.  Make sure you leave a blank line
  11. before the W in each case, and hit the Enter key at the end of each
  12. line, especially the last one.  Then put the correct script file,
  13. DEBUG.COM, and DISKCOPY.COM on your disk and type:
  14.  
  15. DEBUG < SCRIPT.21
  16.  
  17. (changing the extension as appropriate for the DOS version you are
  18. using).
  19.      To use the program, you must have enough memory to hold the disk
  20. you are copying as well as DOS and the program DISKCPYM.COM -- about
  21. 448K.
  22.      Note, however, that while the 3.x versions prompt you to insert
  23. a new blank disk after finishing the first copy, the 2.1 version does
  24. not.  If you try the 2.1 version, after the initial copy is made the
  25. program will ask: "Copy another (Y/N)?"  At this point insert the new
  26. disk, since the program will begin making the new copy as soon as you
  27. hit the Y.
  28.  
  29. SCRIPT.21:
  30.  
  31. N DISKCOPY.COM
  32. L
  33. N DISKCPYM.COM
  34. A 240
  35. MOV WORD PTR[01AA],050C
  36. JMP 208
  37.  
  38. W
  39. Q
  40.  
  41. - - -
  42. SCRIPT 3.1:
  43.  
  44. N DISKCOPY.COM
  45. L
  46. N DISKCPYM.COM
  47. A 215
  48. MOV  DX,07C4
  49. PUSH DX
  50. PUSH CS
  51. CALL 0CA0
  52. CALL 0C58
  53. MOV  DX,07F8
  54. PUSH DX
  55. PUSH CS
  56. CALL 0CA0
  57. MOV  AL,[0120]
  58. AND  AL,DF
  59. CMP  AL,[07A0]
  60. JZ   023C
  61. CMP  AL,[07A1]
  62. JNZ  0215
  63. STC
  64. JMP  024E
  65. MOV  WORD PTR [0111],0000
  66. CALL 03C2
  67. CLC
  68. JMP  0215
  69. NOP
  70. NOP
  71. NOP
  72. NOP
  73. NOP
  74. NOP
  75. RET
  76.  
  77. W
  78. Q
  79.  
  80. - - -
  81. SCRIPT.32:
  82.  
  83. N DISKCOPY.COM
  84. L
  85. N DISKCPYM.COM
  86. A 70E
  87. MOV  DX,0EF4
  88. PUSH DX
  89. PUSH CS
  90. CALL 13D2
  91. CALL 138A
  92. MOV  DX,0F28
  93. PUSH DX
  94. PUSH CS
  95. CALL 13D2
  96. MOV  AL,[0369]
  97. AND  AL,DF
  98. CMP  AL,[0ED0]
  99. JZ   0735
  100. CMP  AL,[0ED1]
  101. JNZ  070E
  102. STC
  103. JMP  0747
  104. MOV  WORD PTR [035C],0000
  105. CALL 07AD
  106. CLC
  107. JMP  070E
  108. NOP
  109. NOP
  110. NOP
  111. NOP
  112. NOP
  113. NOP
  114. RET
  115.  
  116. W
  117. Q
  118.  
  119.      Editor's Note:  If you don't want to patch a copy of DISKCOPY.COM,
  120. you can always set up a RAMdisk the exact size of a floppy disk,
  121. diskcopy your source disk into it, and then use the RAMdisk as the new
  122. source disk and copy back onto floppies.
  123.  
  124.